//
//  AdscrollView.h
//  乐账
//
//  Created by 谢毅 on 17/1/15.
//  Copyright © 2017年 xieyi. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AdscrollView : UIView<UIScrollViewDelegate>

//定义图片轮播器属性
@property(nonatomic,strong)NSArray *imagArray;
@property(nonatomic,strong)UIScrollView *ad_scrollview;
@property(nonatomic,strong)UIPageControl *pageControl;
//@property(nonatomic,strong)NSTimer *timer;

@property(nonatomic,assign)BOOL flag;//滚动方向选着标志yes为循环滚动，no为双向滚动
@property(nonatomic,assign)NSInteger currentPage;//当前页


-(void)AutoShow:(BOOL)start;        //开启自动滚动

@end
